<div id="modals">
	<div id="tekst">
		{if isset($sendResult) && $sendResult}
			<h3>Bericht verstuurd</h3>
			<p>Dit bericht is verstuurd naar {$emailadres}.</p>
		{else}
				{display_errors errors="$errors" width="300px"}
				<form method="post" action="{$REQUEST_URI}" id="form_login">
<h3>Tell-a-friend</h1>
<p>Wil je een vriend of vriendin op de hoogte brengen van Rijlesplanner? Vul dan onderstaand formulier in en klik op &lsquo;Verstuur&rsquo;.</p>
<table cellpadding="0" cellspacing="0" border="0" class="body5" width="95%">
	<tr>
		<td colspan="2" class="tekst"><h3>Jouw gegegevens</h3>
		</td>
	</tr>
	<tr>
		<td><label for="your_name">Naam</label>:</td>
		<td><input type="text" id="your_name" name="your_name" value="{if $loggedIn}{$user->getVoornaam()} {$user->getTussenvoegsel()} {$user->getAchternaam()}{/if}" class="submit4" style="width:250px;"/></td>
	</tr>
	<tr>
		<td><label for="your_email">E-mail adres</label>:</td>
		<td><input type="text" id="your_email" name="your_email" value="{if $loggedIn}{$user->getEmail()}{/if}" class="submit4"  style="width:250px;" /></td>
	</tr>
	<tr>
		<td colspan="2" class="tekst"><h3>Gegegevens vriend(in)</h3>
		</td>
	</tr>
	<tr>
		<td><label for="friend_name">Naam</label>:</td>
		<td><input type="text" id="friend_name" name="friend_name" class="submit4"  style="width:250px;"/></td>
	</tr>
	<tr>
		<td><label for="friend_email">E-mail adres</label>:</td>
		<td><input type="text" id="friend_email" name="friend_email" class="submit4"  style="width:250px;" /></td>
	</tr>
	<tr>
		<td><label for="your_message">Jouw bericht</label>:</td>
		<td><textarea id="your_message" name="your_message" class="submit4" style="width:250px;height:50px" />Op www.rijlesplanner.nl vind je meer informatie over...</textarea></td>
	</tr>
	<tr>
		<td colspan="2" align="center">
			<input type="hidden" name="module" value="tellafriend" />
			<input type="hidden" name="action" value="sendtellafriend" />
			<input type="submit" value="Verstuur" class="submit5" />
		</td>
	</tr>
</table>
</form>
{/if}
</div>
</div>
